Trees | Indices | Toggle frames |
---|
Video details.
An instance of this class is provided by sources with a video track. You should not modify the fields.
Note that the sample aspect has no relation to the aspect ratio of the video image. For example, a video image of 640x480 with sample aspect 2.0 should be displayed at 1280x480. It is the responsibility of the application to perform this scaling.
__init__(self, width, height, sample_aspect=1.0) |
int |
height
Height of video image, in pixels.
|
float |
sample_aspect
Aspect ratio (width over height) of a single video pixel.
|
int |
width
Width of video image, in pixels.
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:19 2009 | http://epydoc.sourceforge.net |